package com.example.zbook.startproject119ln.iface;

import com.example.zbook.startproject119ln.bean.WeatherInfo;

/**
 * Created by ZBOOK on 2017/3/14.
 */
//获取天气信息的返回值，定义接口
public interface WeatherListener {
    //成功获取，返回天气信息
    void onResponse(WeatherInfo weatherInfo);
    //获取失败，返回错误信息
    void onFail(String msg);

}
